<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:composite="http://java.sun.com/jsf/composite"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui">
 
	  <composite:interface>
			<composite:attribute name="type" default="Global" />
			<composite:attribute name="communityId"/>
	  </composite:interface>
 
	  <composite:implementation>
	  	<h2>Recent activities</h2>
	  		  		  	
		<h:form id="communityActivityStream">		
 	 		<p:dataList var="activity" value="#{communityBean.activities}">	
				#{activity.text}<br />
				#{activity.creator.firstName} #{activity.creator.lastName}, #{activity.timestamp}<br />  		
				<br />						
 			</p:dataList>
		</h:form>
		  
	  </composite:implementation>
</html>